package com.xiaoxi.open.design.structural.bridgepattern.platform;

import com.xiaoxi.open.design.structural.bridgepattern.video.Video;
import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName Display
 * @Description
 * @Author xiaoxi
 * @Date 2024/10/20 15:42
 * @Version 1.0
 */
@Slf4j
public abstract class Platform {

    protected Video video;

    public Platform(Video video) {
        this.video = video;
    }

    public abstract void openVideo(Long videoId);
    public abstract void downloadVideo(Long videoId);

}
